package com.yxj.mapper;

import com.yxj.domain.Emp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmpMapper {

    Emp findOne(@Param("id") Integer id);

    List<Emp> selectAll();
}
